package m3f.computing;

import java.util.Random;

public class RandomNumbers extends Random{
	
	private static final long serialVersionUID = 1L;
	private static RandomNumbers rand = null;
	
	public static RandomNumbers getInstance(){
		if(rand == null)
			rand = new RandomNumbers();
		return rand;
	}
	
	public static void resetSeed(long l){
		rand.setSeed(l);
	}
	
	private RandomNumbers(){
		super(System.currentTimeMillis());
		//super(100L);
	}

}
